﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.Insurance.AM.Dto
{
    /// <summary>
    /// 安馒保险返回的对账信息
    /// </summary>
    public class AMCheckResponseDto
    {
        /// <summary>
        /// 安馒用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 处理结果编号  
        /// 0000:处理成功,其他代码错误信息见Message
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 处理结果信息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 返回对账的详细信息
        /// </summary>
        public List<CheckResponseInfo> SegmentList { get; set; }
    }

    /// <summary>
    /// 对账的详细信息
    /// </summary>
    public class CheckResponseInfo
    {
        /// <summary>
        /// 保单号
        /// </summary>
        public string PolicyCode { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string PlanCode { get; set; }
        /// <summary>
        /// 实收保费
        /// </summary>
        public string Premium { get; set; }
        /// <summary>
        /// 操作时间  格式：yyyy-MM-dd HH:mm:ss
        /// </summary>
        public string IssueDate { get; set; }
        /// <summary>
        /// 操作类型 A:投保，C:退保
        /// </summary>
        public string ActionTp { get; set; }
    }
}
